* @tree_column: A #GtkTreeViewColumn.
* @cell: The #GtkCellRenderer.
* @expand: %TRUE if @cell is to be given extra space allocated to box.
- *
+ *
+ * Packs the @cell into the beginning column. If @expand is %TRUE, then the
+ * @cell is allocated a share of all available space that the @tree_column has.
**/
void
gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column,
tree_column->cell_list = g_list_append (tree_column->cell_list, cell_info);
}
+/**
+ * gtk_tree_view_column_pack_end:
+ * @tree_column: A #GtkTreeViewColumn.
+ * @cell: The #GtkCellRenderer.
+ * @expand: %TRUE if @cell is to be given extra space allocated to box.
+ *
+ * Packs the @cell into the column. If @expand is %TRUE, then the @cell is
+ * allocated a share of all available space that the @tree_column has.
+ **/
void
gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell,
return tree_column->visible;
}
+/**
+ * gtk_tree_view_column_set_resizable:
+ * @tree_column: A #GtkTreeViewColumn
+ * @resizable: %TRUE, if the column can be resized
+ *
+ * If @resizable is %TRUE, then the user can explicitly resize the column by
+ * grabbing the outer edge of the column button. If the sizing mode of the
+ * column is #GTK_TREE_VIEW_COLUMN_AUTOSIZE, then it is changed to
+ * #GTK_TREE_VIEW_COLUMN_GROW_ONLY.
+ **/
void
gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column,
gboolean resizable)
g_object_notify (G_OBJECT (tree_column), "resizable");
}
+/**
+ * gtk_tree_view_column_get_resizable:
+ * @tree_column: A #GtkTreeViewColumn
+ *
+ * Returns #TRUE if the @tree_column can be resized by the end user.
+ *
+ * Return value: #TRUE, if the @tree_column can be resized.
+ **/
gboolean
gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column)
{
return tree_column->xalign;
}
+/**
+ * gtk_tree_view_column_set_reorderable:
+ * @tree_column: A #GtkTreeViewColumn
+ * @reorderable: #TRUE, if the column can be reordered.
+ *
+ * If @reorderable is #TRUE, then the column can be reordered by the end user
+ * dragging the header.
+ **/
void
gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column,
gboolean reorderable)
g_object_notify (G_OBJECT (tree_column), "reorderable");
}
+/**
+ * gtk_tree_view_column_get_reorderable:
+ * @tree_column: A #GtkTreeViewColumn
+ *
+ * Returns #TRUE if the @tree_column can be reordered by the user.
+ *
+ * Return value: #TRUE if the @tree_column can be reordered by the user.
+ **/
gboolean
gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column)
{
}
}
+/**
+ * gtk_tree_view_column_cell_is_visible:
+ * @tree_column: A #GtkTreeViewColumn
+ *
+ * Returns #TRUE if any of the cells packed into the @tree_column are visible.
+ * For this to be meaningful, you must first initialize the cells with
+ * gtk_tree_view_column_cell_set_cell_data()
+ *
+ * Return value: #TRUE, if any of the cells packed into the @tree_column are currently visible
+ **/
gboolean
gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column)
{